﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for PASelectItem
/// </summary>
/// 
namespace CE.PersonalAccident
{
    public class PASelectItem
    {
        private Int64 _paselectitemid;
        private Int64 _paid;
        private Int64 _painsid;
        private Int64 _providercompanyid;
        private float _annualpremium;
        private Int64 _refceuserid;
        private DateTime _modifieddate;
        private bool _status;

        public PASelectItem()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public Int64 PASelectItemId
        {
            get { return _paselectitemid; }
            set { _paselectitemid = value; }
        }

        public Int64 PAId
        {
            get { return _paid; }
            set { _paid = value; }
        }

        public Int64 PAInsId
        {
            get { return _painsid; }
            set { _painsid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public float AnnualPremium
        {
            get { return _annualpremium; }
            set { _annualpremium = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _paselectitemid = 0;
            _paid = 0;
            _painsid = 0;
            _providercompanyid = 0;
            _annualpremium = 0.0f;
            _refceuserid = 0;
            _modifieddate = CE.Global.General.GetUTCDateTime();
            _status = true;
        }
    }
}